package com.zj.recyclerviewdemo.mvp;

import com.zj.recyclerviewdemo.base.BasePresenter;
import com.zj.recyclerviewdemo.base.BaseView;
import com.zj.recyclerviewdemo.bean.Item2;

import java.util.List;

/**
 * Created by Lenovo on 2017/4/28.
 */

public class Main2Contract {

    public interface View extends BaseView<Presenter> {
        void initViews();
        void showData(List<Item2> list);
        void showRefreshData(List<Item2> list, int refreshType);
    }

    public interface Presenter extends BasePresenter {
        void getData();
        void getRefreshData(int refreshType);
    }
}
